package com.bwie.common.constants;

/**
 * @description: 系统常量
 * @author DongZl
 */
public class Constants {
    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;
    public static final String SUCCESS_MSG = "操作成功";
    /**
     * 失败标记
     */
    public static final Integer ERROR = 500;
    public static final String ERROR_MSG = "操作异常";

    /**
     * 业务层
     */
    public static final Integer SEND_CODE_EXITES_CODE = 1001;
    public static final String SEND_CODE_EXITES_MSG = "验证码已存在，请勿重复发送";
    public static final Integer SEND_CODE_ERROR_CODE = 1002;
    public static final String SNED_CODE_ERROR_MAG = "服务器繁忙，请稍受再试……";
    public static final Integer LOGIN_PSSWORD_OR_CODE_ERROR_CODE = 1003;
    public static final String LOGIN_PSSWORD_OR_CODE_ERROR_MSG = "密码或者验证码错误";
    public static final Integer LOGIN_LOCK_EXITS_CODE = 1004;
    public static final String LOGIN_LOCK_EXITS_MSG = "账号已锁定，请五分钟后再登录";
    public static final Integer LOGIN_ROLE_ERROR_CODE = 1005;
    public static final String LOGIN_ROLE_ERROR_MSG = "服务器繁忙，请稍受再试……";
    public static final Integer LOGIN_ROLE_NULL_CODE = 1006;
    public static final String LOGIN_ROLE_NULL_MSG = "该用户未分配角色";
    public static final Integer REGISTER_USER_ERROR_CODE = 1007;
    public static final String REGISTER_USER_ERROR_MSG = "注册用户服务器繁忙，请稍后再试";
    public static final Integer LOGIN_NULL_CODE = 1008;
    public static final String LOGIN_NULL_MSG = "用户未登录";
    public static final Integer IMG_CODE_ERROR_CODE = 1009;
    public static final String IMG_CODE_ERROR_MAG = "您输入的验证码错误";
    public static final Integer IMG_CODE_NULL_CODE = 1010;

    public static final String IMG_CODE_NULL_MAG = "图片验证码已过期";
    public static final Integer ORANGE_ADD_EXITS_CODE = 1011;
    public static final String ORANGE_ADD_EXITS_MSG = "组织已存在";
}
